package com.example.shoppingmall.dao;

import com.example.shoppingmall.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PropertyMapper {

    public List<Property>propertyList();

    public List<Property>propertyListForNo(@Param("no") int no);

    public int count();

    public Property xiangQing(@Param("id") int id);

    public int add(Property property);

    public int delete(@Param("id") int id);

    public int update(Property property);

    public int chackName(@Param("name") String name);


}
